import { createWebHistory, createRouter } from "vue-router";
import login from "@/views/Login.vue";
import orderlist from "@/views/OrderList.vue";
import OrderContentVue from "@/views/OrderContent.vue";

const router = createRouter({
      history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'login',
            component: login
        }, 
        {
            path: '/orderlist',
            name: 'orderlist',
            component: orderlist
        },
        {
            path: '/ordercontent',
            name: 'ordercontent',
            component: OrderContentVue
        }

    ]
})
export default router